﻿using System;
using System.Linq;


class GetMax
{
    static int GetMaximal(int firstNumber, int secondNumber, int thirdNumber = int.MinValue)
    {
        return Math.Max(Math.Max(firstNumber, secondNumber), thirdNumber);
    }

    static void Main()
    {
        int number1 = int.Parse(Console.ReadLine());
        int number2 = int.Parse(Console.ReadLine());
        int number3 = int.Parse(Console.ReadLine());

        //int result = GetMaxx(number1, number2, number3);
        int result = GetMaximal(number1, number2);
        Console.WriteLine(result);
    }
}

